package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户举报记录
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-20 11:48:57
 */
@Getter
@Setter
@TableName("t_report")
@ApiModel(value = "Report对象", description = "用户举报记录")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private Long id;

    @ApiModelProperty("举报人id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("被举报人id")
    @TableField("user_report_id")
    private Long userReportId;

    @ApiModelProperty("举报内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("具体举报内容")
    @TableField("content_detail")
    private String contentDetail;

    @ApiModelProperty("举报原因")
    @TableField("reason")
    private String reason;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("截图")
    @TableField("pictures")
    private String pictures;

    @ApiModelProperty("(0=待核实，1=已处理)")
    @TableField("state")
    private String state;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
